/* Reset básico */
:root{
  --azul-escuro:#0A1F44;
  --azul:#1D4ED8;
  --azul-2:#0E3A8A;
  --cinza:#f7f9fc;
  --texto:#1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #f7f9fc, #eaeff5);
  font-family: "Inter", Arial, sans-serif;
  color: var(--texto);
  line-height: 1.6;
}
/* ---------------- Cabeçalho ---------------- */
.hero {
  background-image: url('assets/img/servicos2.png');
  background-size: cover;
  background-position: center;
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  opacity: 0.8;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.menu-centralizado ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu-centralizado a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.menu-centralizado a:hover {
  background-color: #00ccaa;
}

.logo-servico {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

/* ---------------- Rodapé ---------------- */
footer {
  background-color: #0a0a23;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ---------------- Containers ---------------- */
.container {
  max-width: 100%;
  margin: auto;
  padding: 40px 40px;
}

@media(max-width:768px){
  .container{
    padding-left: 0;
    padding-right: 0;
  }
}
/* =========================
   SOBRE MIM - SPLIT LAYOUT
========================= */

.sobre-mim {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.sobre-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

/* FOTO */
.sobre-foto {
  flex: 1;
}

.sobre-foto img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* TEXTO */
.sobre-conteudo {
  flex: 1.2;
}

.sobre-conteudo h2 {
  font-size: 2.2rem;
  color: #0A1F44;
  margin-bottom: 20px;
}

.destaque {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0E3A8A;
  margin-bottom: 20px;
}

.sobre-conteudo p {
  line-height: 1.8;
  margin-bottom: 18px;
  color: #333;
}

.lista-servicos {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 25px;
}

.lista-servicos li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
}

.lista-servicos li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0E3A8A;
  font-weight: bold;
}

.sobre-info {
  margin-top: 20px;
  font-size: 0.95rem;
}

.btn-conversao {
  display: inline-block;
  margin-top: 30px;
  background: linear-gradient(135deg, #0A1F44, #0E3A8A);
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-conversao:hover {
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  transform: translateY(-3px);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .sobre-wrapper {
    flex-direction: column;
  }

  .lista-servicos {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Portfólio ---------------- */
#Portifolio {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

#Portifolio h2 {
  font-size: 32px;
  color: #0a0a23;
  margin-bottom: 40px;
}

.cards-Portifolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all 0.6s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
  border-color: #00ccaa;
}

.card h3 {
  font-size: 20px;
  color: #0a0a23;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #555;
}

/* ---------------- Botão ---------------- */
.btn-card {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0a0a23;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-card:hover {
  background-color: #00ccaa;
}

/* ---------------- Contato ---------------- */
#contato {
  background-color: #fff;
  padding: 60px 20px;
}

#contato h2 {
  text-align: center;
  color: #0a0a23;
  font-size: 32px;
  margin-bottom: 40px;
}

form {
  max-width: 700px;
  margin: auto;
}

.campo {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.campo label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.campo input,
.campo textarea,
.campo select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
  border-color: #0a0a23;
  outline: none;
}

/* ---------------- WhatsApp ---------------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* ---------------- Carrossel estilo Netflix ---------------- */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.grid-projetos {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0px 0px;
}

.grid-projetos::-webkit-scrollbar {
  height: 10px;
}

.grid-projetos::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 5px;
}

.grid-projetos::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.card-projeto {
  flex: 0 0 650px;
  height: 700px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  animation: fadeUp 0.8s ease forwards;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.card-projeto:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-projeto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-projeto h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

@media(max-width: 768px){
  .carousel-wrapper{
    width: 100vw;
    margin-top: calc(-50vw + 50%);
  }
}

@media(max-width:768px){
  .grid-projetos{
    padding:20px 16px;
    gap:16px
  }
}

@media(max-width:768px){
  .card-projeto{
    flex: 0 0 88vw;
    height: 420px;
  }
}

@media(max-width: 768px){
  .card-projeto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media(max-width:768px){
  .grid-projetos{
    scroll-snap-type: x mandatory;
  }
  .card-projeto{
    scroll-snap-align: center;
  }
}

/* Animação */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Setas do carrossel */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 28px;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.scroll-btn {
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.scroll-btn:hover {
  background-color: #00ccaa;
}

.scroll-btn.left {
  left: 15px;
}

.scroll-btn.right {
  right: 15px;
}

/* ---------------- Slide Card ---------------- */

.galeria-projeto{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.imagem-principal{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Miniaturas */

.miniaturas{
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.miniaturas img{
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.miniaturas img:hover{
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
/* ---------------- Botão voltar ---------------- */
.btn-card {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background-color: #0a0a23;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.btn-card:hover {
  background-color: #00ccaa;
}

/* ---------------- WhatsApp ---------------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

@keyframes pulseWhats {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(0, 204, 170, 0.55); }
  70%  { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(0, 204, 170, 0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(0, 204, 170, 0); }
}

.whatsapp-float {
  animation: pulseWhats 1.8s infinite;
}

.whatsapp-float:hover {
  animation: none; 
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 768px) {
  .card-projeto {
    flex: 0 0 80%;
    height: 400px;
  }

  .card-projeto h3 {
    font-size: 16px;
    padding: 10px;
  }

  .scroll-btn {
    display: none;
  }
}

/* ---------------- Cabeçalho fixo ---------------- */
.cabecalho {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../meu-site/assets/img/subestacao.png') center/cover no-repeat;
  padding: 40px 40px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cabecalho-conteudo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-header {
  height: 60px;
  width: auto;
}

.titulo-header {
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .hero {
    height: 45vh;
  }

  .overlay {
    padding: 22px;
  }

  .menu-centralizado ul {
    gap: 12px;
  }

  .cards-servicos {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    padding: 22px 16px;
  }

  .btn-card {
    width: 100%;
    text-align: center;
  }
}


/* --------------- Especialidades ------------------*/
#especialidades {
  background: linear-gradient(to bottom, #ffffff, #f2f5fa);
  padding: 80px 20px;
  text-align: center;
}

#especialidades h2 {
  font-size: 32px;
  color: #0a0a23;
  margin-bottom: 10px;
}

#especialidades .subtitulo {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
}

.grid-especialidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.grid-especialidades a {
  text-decoration: none;
  color: inherit;
}

.especialidade {
  text-decoration: none;
  color: inherit;
  display: block;
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.especialidade:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.especialidade i {
  font-size: 36px;
  color: #00ccaa;
  margin-bottom: 15px;
}

.especialidade h3 {
  font-size: 20px;
  color: #0a0a23;
  margin-bottom: 10px;
}

.especialidade p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.cards-Especialidade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all 0.6s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
  border-color: #00ccaa;
}

.card h3 {
  font-size: 20px;
  color: #0a0a23;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #555;}

/* Dark mode automático */
@media (prefers-color-scheme: dark) {
  #especialidades {
    background: #0b1020;
  }

  .especialidade {
    background: #121a2e;
  }

  .especialidade h3 {
    color: #e8ecf1;
  }

  .especialidade p,
  #especialidades .subtitulo {
    color: #cfd6e3;
  }
}

/* ---------------- Indicadores ---------------- */
#indicadores {
  background: linear-gradient(135deg, #0a0a23, #003366);
  padding: 80px 20px;
}

.grid-indicadores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.indicador {
  color: #fff;
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.indicador:hover {
  transform: translateY(-6px);
}

.indicador i {
  font-size: 34px;
  color: #00ccaa;
  margin-bottom: 12px;
}

.indicador .numero {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: #00ccaa;
  margin-bottom: 6px;
}

.indicador .descricao {
  font-size: 15px;
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
  .indicador .numero {
    font-size: 36px;
  }
}

/* ---------------- Depoimentos ---------------- */
#depoimentos {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

#depoimentos h2 {
  font-size: 32px;
  color: #0a0a23;
  margin-bottom: 10px;
}

#depoimentos .subtitulo {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
}

.grid-depoimentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.depoimento {
  background: #f7f9fc;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: left;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.depoimento::before {
  content: "“";
  font-size: 80px;
  color: #00ccaa;
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.25;
  font-family: serif;
}

.depoimento:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 204, 170, 0.25);
}

.depoimento .texto {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.depoimento .autor strong {
  display: block;
  font-size: 16px;
  color: #0a0a23;
}

.depoimento .autor span {
  font-size: 14px;
  color: #666;
}

/* Dark mode automático */
@media (prefers-color-scheme: dark) {
  #depoimentos {
    background: #0b1020;
  }

  #depoimentos h2 {
    color: #e8ecf1;
  }

  #depoimentos .subtitulo {
    color: #cfd6e3;
  }

  .depoimento {
    background: #121a2e;
  }

  .depoimento .texto {
    color: #e8ecf1;
  }

  .depoimento .autor span {
    color: #b8c0d4;
  }
}


/* ----------------- Especialidades ------------------ */
/* ================ Seção de Estudos de Proteção =================== */
.hero-protecao {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  color: #fff;
  overflow: hidden;
}

.hero-protecao::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/fase_677.PNG") center/cover no-repeat;
  background-attachment: fixed; /* efeito parallax */
  transform: scale(1.1);
  z-index: 1;
}

.hero-protecao::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 40, 0.85),
    rgba(0, 51, 102, 0.85)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08); /* 🧊 Glass effect */
  padding: 60px 40px;
  border-radius: 20px;
  animation: fadeUpHero 1s ease forwards;
}

.tag-servico {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: #00ccaa;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-protecao h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.linha-divisoria {
  width: 80px;
  height: 3px;
  background: #00ccaa;
  margin: 20px auto;
  border-radius: 2px;
}

.hero-protecao p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

@keyframes fadeUpHero {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-protecao {
    min-height: 70vh;
    padding: 80px 20px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-protecao h1 {
    font-size: 28px;
  }

  .hero-protecao p {
    font-size: 16px;
  }
}

.porque {
  padding: 80px 20px;
  text-align: center;
}

.porque h2 {
  margin-bottom: 60px;
  font-size: 28px;
}

.item-porque {
  max-width: 600px;
  margin: 0 auto 60px;
}

.numero {
  width: 70px;
  height: 70px;
  border: 3px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

/* Como Funciona */
.como-funciona {
  background: #0a0a23;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.como-funciona h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.como-funciona .sub {
  color: #ccc;
  margin-bottom: 60px;
}

.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card-etapa {
  background: #fff;
  color: #111;
  padding: 40px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.card-etapa:hover {
  transform: translateY(-10px);
}

.card-etapa i {
  font-size: 40px;
  color: #00ccaa;
  margin-bottom: 20px;
}

.normas-protecao {
  background: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.normas-protecao h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #0a0a23;
}

.normas-protecao .subtitulo {
  max-width: 750px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 18px;
}

.grid-normas-protecao {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.norma-item {
  background: #f5f7fa;
  padding: 35px 25px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.norma-item i {
  font-size: 34px;
  color: #00ccaa;
  margin-bottom: 15px;
}

.norma-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.norma-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.norma-item:hover {
  transform: translateY(-6px);
  background: #0a0a23;
  color: #fff;
}

.norma-item:hover p {
  color: #ddd;
}

.norma-item:hover i {
  color: #00ccaa;
}

.secao-tecnica {
  background: #f8fafc;
  padding: 100px 20px;
  text-align: center;
}

.secao-tecnica h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #0a0a23;
}

.secao-tecnica .subtitulo {
  max-width: 750px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 18px;
}

.grid-estudos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.estudo-item {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: left;
  transition: all 0.3s ease;
}

.estudo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.estudo-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.estudo-item p {
  color: #555;
  line-height: 1.6;
}

.secao-grafico {
  background: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.grafico-container img {
  max-width: 900px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Área de Consultoria */
#consultoria-potencia {
  background: linear-gradient(to bottom, #ffffff, #f4f8fc);
  padding: 100px 20px;
}

#consultoria-potencia h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 15px;
  color: #0a0a23;
}

#consultoria-potencia .subtitulo {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #555;
}

.subsecao {
  margin-bottom: 60px;
}

.subsecao h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #003366;
  border-left: 4px solid #00ccaa;
  padding-left: 12px;
}

.subsecao ul {
  margin-top: 10px;
  padding-left: 20px;
}

.destaque-roi {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.box-roi {
  background: #f2f9f7;
  padding: 20px;
  border-left: 4px solid #00ccaa;
  margin-top: 20px;
}

.matriz-risco table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.matriz-risco th,
.matriz-risco td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.matriz-risco th {
  background-color: #003366;
  color: #fff;
}

.cta-consultoria {
  text-align: center;
  margin-top: 80px;
}

.btn-cta-potencia {
  display: inline-block;
  padding: 14px 28px;
  background-color: #003366;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-cta-potencia:hover {
  background-color: #00ccaa;
}

/* CTA FIXO - SOLICITAR ESTUDO */
.cta-estudo {
  position: fixed;
  bottom: 100px; 
  right: 20px;
  background: linear-gradient(135deg, #003366, #0055aa);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 999;
  animation: pulseCTA 2s infinite;
}

.cta-estudo:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0055aa, #00ccaa);
}

/* Animação leve */
@keyframes pulseCTA {
  0% { box-shadow: 0 0 0 0 rgba(0, 85, 170, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(0, 85, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 85, 170, 0); }
}

/* Mobile */
@media(max-width:768px){
  .cta-estudo{
    font-size: 12px;
    padding: 12px 18px;
    bottom: 90px;
  }
}

#timeline-protecao {
  background: linear-gradient(to bottom, #ffffff, #f4f7fb);
  padding: 100px 20px;
  text-align: center;
}

#timeline-protecao h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0a0a23;
}

#timeline-protecao .subtitulo {
  max-width: 700px;
  margin: 0 auto 70px;
  color: #555;
  font-size: 18px;
}

/* Linha central */
.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(to right, #00ccaa, #003366);
  z-index: 0;
}

/* Item */
.timeline-item {
  position: relative;
  flex: 1;
  min-width: 220px;
  z-index: 1;
}

/* Ícone */
.timeline-icon {
  width: 70px;
  height: 70px;
  background: #fff;
  border: 4px solid #00ccaa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #00ccaa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Conteúdo */
.timeline-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #0a0a23;
  font-size: 18px;
}

.timeline-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 900px) {

  .timeline {
    flex-direction: column;
    gap: 60px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    width: 100%;
  }

}


/* ================ Seção de Subestação até 69 kV =================== */
/* HERO INDUSTRIAL */
.hero-industrial {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  color: #fff;
  overflow: hidden;
}

.hero-industrial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/subestacao.png") center/cover no-repeat;
  background-attachment: fixed;
  transform: scale(1.1);
  z-index: 1;
}

.hero-industrial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,20,40,0.9), rgba(0,51,102,0.9));
  z-index: 2;
}

.hero-content-industrial {
  position: relative;
  z-index: 3;
  max-width: 900px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
  padding: 60px 40px;
  border-radius: 20px;
}

.tag-industrial {
  font-size: 14px;
  letter-spacing: 3px;
  color: #00ccaa;
  font-weight: 600;
}

.hero-industrial h1 {
  font-size: 42px;
  margin: 20px 0;
}

.container-divisoria {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.linha-divisoria-industrial {
  width: 100px;
  height: 4px;
  background: #00ccaa;
  border-radius: 4px;
}

/* SEÇÃO INDUSTRIAL */
.secao-industrial {
  padding: 100px 20px;
  text-align: center;
}

.grid-industrial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
  margin-top: 60px;
}

.industrial-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.industrial-card:hover {
  transform: translateY(-8px);
}

/* ROI */
.secao-roi {
  background: #0a0a23;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.grid-roi {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 40px;
  margin-top: 60px;
}

.roi-card {
  background: rgba(255,255,255,0.08);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* TIMELINE EXECUTIVA */
.metodologia-executiva {
  padding: 120px 20px;
  background: #f4f8fc;
  text-align: center;
}

.timeline-executiva {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 80px;
}

.timeline-executiva::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(to right,#003366,#00ccaa);
}

.etapa-executiva {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.etapa-numero {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #00ccaa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-weight: bold;
  color: #003366;
  transition: 0.3s;
}

.etapa-executiva:hover .etapa-numero {
  background: #00ccaa;
  color: #fff;
}

/* CTA FIXO */
.cta-industrial {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: linear-gradient(135deg,#003366,#0055aa);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  animation: pulseCTA 2s infinite;
  z-index: 999;
}

@keyframes pulseCTA {
  0% { box-shadow: 0 0 0 0 rgba(0,85,170,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(0,85,170,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,85,170,0); }
}

/* BOTÃO VOLTAR HOME */
.btn-voltar-home {
  position: fixed;
  top: 25px;
  left: 25px;
  background: linear-gradient(135deg, #0A1F44, #0E3A8A);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  z-index: 999;
}

.btn-voltar-home:hover {
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  transform: translateY(-2px);
}

.btn-voltar-home i {
  font-size: 0.8rem;
}

/* ================= ARTIGOS TÉCNICOS ================= */

#artigos-tecnicos {
  background: linear-gradient(135deg, #0A1F44, #0E3A8A);
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
}

#artigos-tecnicos h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #ffffff;
}

#artigos-tecnicos .subtitulo {
  max-width: 750px;
  margin: 0 auto 60px;
  color: #dbe7ff;
  font-size: 18px;
}

/* Cards continuam brancos para contraste */
.grid-artigos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.card-artigo {
  position: relative;
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  text-align: left;
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

/* Glow azul atrás */
.card-artigo::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.35), transparent 70%);
  top: -60px;
  right: -60px;
  z-index: -1;
  transition: 0.4s ease;
  opacity: 0.6;
}

.card-artigo:hover::before {
  transform: scale(1.3);
  opacity: 1;
}

/* Sombra principal */
.card-artigo {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.card-artigo:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(29, 78, 216, 0.35);
}

.artigo-categoria {
  font-size: 13px;
  font-weight: 600;
  color: #1D4ED8;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-artigo h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0A1F44;
}

.card-artigo p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-artigo {
  text-decoration: none;
  font-weight: 600;
  color: #1D4ED8;
  transition: 0.3s;
}

.btn-artigo:hover {
  color: #0A1F44;
}

/* ========================================== */
/* LAYOUT IEEE REAL – DUAS COLUNAS FIXAS - ARTIGOS */
/* ========================================== */


/* Container principal */
.ieee-container {
    max-width: 1000px;
    margin: 40px auto;
    padding-left: 60px;
    padding-right: 60px;
}

/* Cabeçalho */
.ieee-header {
    text-align: center;
    margin-bottom: 30px;
}

.ieee-header h1 {
    font-size: 18pt;
    font-weight: bold;
    margin-bottom: 10px;
}

.autor {
    font-size: 9pt;
    line-height: 1.4;
}

/* Resumo em coluna única */
.resumo {
    margin-bottom: 25px;
}

.resumo h2 {
    font-size: 11pt;
    font-weight: bold;
    margin-bottom: 5px;
}

.resumo p {
    text-align: justify;
    text-indent: 1cm;
}

/* Corpo do artigo – duas colunas */
.corpo-artigo {
    column-count: 2;
    column-gap: 30px;
}

.corpo-artigo h2 {
    font-size: 11pt;
    font-weight: bold;
    margin-top: 15px;
    break-after: avoid;
}

.corpo-artigo p {
    text-align: justify;
    text-indent: 1cm;
    margin-bottom: 8px;
    break-inside: avoid;
}

/* Equações */
.equacao {
    text-align: center;
    margin: 12px 0;
    font-size: 11pt;
    break-inside: avoid;
}

/* Referências */
.referencias {
    margin-top: 30px;
    font-size: 9pt;
}

.referencias h2 {
    font-size: 11pt;
    margin-bottom: 8px;
}

.referencias ol {
    padding-left: 20px;
}

/* Rodapé */
.ieee-footer {
    text-align: center;
    font-size: 8pt;
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid #ccc;
}

/* Responsivo */
@media (max-width: 900px) {
    .corpo-artigo {
        column-count: 1;
    }
}

/* ===== Equações (estilo LaTeX visual) ===== */
.eqblock{
  text-align: center;
  margin: 14px 0 16px 0;
  padding: 8px 10px;
  border-left: 3px solid #000;
  background: #fafafa;
  break-inside: avoid;
}

/* ===== Caixa de definição matemática ===== */
.mathbox{
  border: 1px solid #000;
  padding: 10px 12px;
  margin: 10px 0 16px 0;
  font-size: 12px;
  background: #fff;
  break-inside: avoid;
}

.mathbox-title{
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tabela-ieee {
    width: 100%;
    border-collapse: collapse;
    font-size: 9pt;
    margin: 15px 0;
}

.tabela-ieee th,
.tabela-ieee td {
    border: 1px solid #000;
    padding: 6px;
    text-align: center;
}

.tabela-ieee th {
    font-weight: bold;
    background-color: #f5f5f5;
}


/* ===== Artigo 01 - Caixa de economia ===== */
.box-economia{
background:#f2f8ff;
border-left:6px solid #0a66c2;
padding:25px;
margin:40px 0;
border-radius:6px;
}

.box-economia h3{
margin-top:0;
color:#0a66c2;
}

.box-economia ul{
margin-top:15px;
}

.cta-energia{
background:linear-gradient(135deg,#0a66c2,#004080);
color:white;
padding:40px;
border-radius:12px;
margin:60px 0;
text-align:center;
}

.cta-icon{
font-size:50px;
margin-bottom:10px;
}

.cta-energia h2{
font-size:28px;
margin-bottom:10px;
}

.cta-energia h2 span{
color:#ffd166;
font-weight:bold;
}

.btn-whatsapp{
display:inline-block;
margin-top:20px;
background:#25d366;
color:white;
padding:16px 28px;
font-size:18px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
}

.btn-whatsapp i{
margin-right:8px;
}

.form-fatura{
margin-top:40px;
background:white;
color:#333;
padding:25px;
border-radius:10px;
}

.form-fatura input{
width:100%;
padding:12px;
margin:10px 0;
border-radius:6px;
border:1px solid #ccc;
}

.form-fatura button{
width:100%;
background:#0a66c2;
color:white;
padding:14px;
border:none;
border-radius:6px;
font-size:16px;
font-weight:bold;
cursor:pointer;
}